<#--
/*
 *界面的提示信息
 */
-->
<#macro success content>
<div class="status success">
	<p class="closestatus"><a href="javascript:void(0)" title="Close">x</a></p>
    <p><img src="img/icons/icon_success.png" alt="Success" /><span>Success!</span>
    ${content}</p>
    <#nested>
</div>
</#macro>
<#macro notice>
<#if !(noticeMsg?exists)>
	<#return/>
</#if>
<script type='text/javascript'>
	function showDetail(){
		var detail=jQuery('#exp_detail');
		if(detail){
			if(detail.is(":hidden")){
				detail.show();
				jQuery('#detail_button').text('X');
			}else{
				detail.hide();
				jQuery('#detail_button').text('i');
			}
		}
	}
</script>
        <div class="status ${noticeMsg.msgType}">
        	<p class="closestatus"><a id="detail_button" href="javascript:showDetail()" title="Close">i</a></p>
        	<p><img src="img/icons/icon_${noticeMsg.msgType}.png" alt="Error" /><span>${noticeMsg.msgType}</span>
        		<span><@s.property value="noticeMsg.msgContent" /></span>
        	</p>
        	<div id='exp_detail' style="display:none;margin:20px;padding-top:10px;">
        		<@s.property value="noticeMsg.msgDetail" />
        	</div>
        </div>
</#macro>